//==========================================================================
// Copyright (c) 2000-2008,  Elastos, Inc.  All Rights Reserved.
//==========================================================================

#ifndef __SERVICE_H__
#define __SERVICE_H__

typedef struct ImportService : DLinkNode
{
    oid_t           m_oid;
    PContext        m_pContext;
} ImportService;

ECode AttachServer(oid_t oid, PContext pContext);
ECode DetachServer(oid_t oid, PContext pContext);
ECode DeleteObjects(CProcess * pCProcess);

EXTERN_C ECode CDECL SysUnregisterCommon(const wchar_t * pwszName);

#endif // __SERVICE_H__
